package com.siqi.hr.system.organization.entity;

/**
 * 字段级权限关系类
 * @author       xiaogq
 */
public class FieldControled {

	/**
	 * 角色id
	 */
	private String roleId;

	/**
	 * 角色名称
	 */
	private String roleName;

	/**
	 * 实体id
	 */
	private Integer entityId;

	/**
	 * 字段id
	 */
	private Integer fieldId;

	/**
	 * 字段名称
	 */
	private String fieldName;

	/**
	 * 是否有编辑权限(true:无，false：有)
	 */
	private boolean forbidEditCharge = false;

	/**
	 * 是否有查看权限(true:无，false：有)
	 */
	private boolean forbidViewCharge = false;

	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public boolean isForbidEditCharge() {
		return this.forbidEditCharge;
	}

	public void setForbidEditCharge(boolean forbidEditCharge) {
		this.forbidEditCharge = forbidEditCharge;
	}

	public boolean isForbidViewCharge() {
		return this.forbidViewCharge;
	}

	public void setForbidViewCharge(boolean forbidViewCharge) {
		this.forbidViewCharge = forbidViewCharge;
	}


	public Integer getFieldId() {
		return this.fieldId;
	}

	public void setFieldId(Integer fieldId) {
		this.fieldId = fieldId;
	}

	public String getFieldName() {
		return this.fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public Integer getEntityId() {
		return entityId;
	}

	public void setEntityId(Integer entityId) {
		this.entityId = entityId;
	}
}
